package com.mystore.framework.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mystore.common.cache.RedisCache;
import com.mystore.framework.pojo.App;
import icu.mhb.mybatisplus.plugln.base.mapper.JoinBaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;
import java.util.List;

@Mapper
@CacheNamespace(implementation = RedisCache.class)
public interface AppMapper extends JoinBaseMapper<App> {
    @Override
    @Options(useGeneratedKeys = true, keyProperty = "app_id")
    int insert(App entity);
}
